<template>
  <div>
    <a-row>
      <a-button type="primary" @click="openNotification">
        测试消息通知
      </a-button>
    </a-row>
    <a-row>
      <img src="/image/pb-cms.gif">
      <img src="../assets/image/katong.jpg" />
      <img src="@/assets/image/zuoye.png" style="width: 30%" />
    </a-row>
  </div>
</template>

<script>

export default {
  name: "HomeView",
  components: {},
  methods: {
    openNotification() {
      this.$notification.open({
        message: 'Notification Title',
        description:
            'This is the content of the notification. This is the content of the notification. This is the content of the notification.',
        onClick: () => {
          console.log('Notification Clicked!');
        },
      });
    },
  },
}
</script>

<style scoped>

</style>
